package cn.zxl.graduate.service;

import cn.zxl.graduate.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author bo-feifei
 * @since 2021-11-01
 */
public interface IUserService extends IService<User> {

    void registUser(String username, String password,String rpassword, String nickname, String phone, String email);

    boolean isExistForUserByUserName(String username);

    Map<String, Object> login(String username, String password);
}
